-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding log to print all configuration flags at start of gcs fuse mount #1565
Conversation
|
Sample log in json format is as follows (For now I have kept "" in the log as I am not sure removing " from logs will result in any formatting errors for any customers, let me know if we need to remove "" from log statement) |
Added config file flags as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Added few nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor doc change.
#1565) * logs flags while mounting gcsfuse * updates log message for mount flag * fixes import lint issue * refactors and renames toString method to support marshalling of nested struct * refactor stringify to use json marshal * adds method for error handling in stringify * updates logger message for flags | remove unnecessary trim space from test * changes stringify error log to warn log * makes customType private * removes extra line from TestStringifyShouldReturnEmptyStringWhenMarshalErrorsOut * moves Stringify to util package * adds doc for Stringify * removes unnecessary TrimSpace * updates Stringify docs to Go format
#1565) * logs flags while mounting gcsfuse * updates log message for mount flag * fixes import lint issue * refactors and renames toString method to support marshalling of nested struct * refactor stringify to use json marshal * adds method for error handling in stringify * updates logger message for flags | remove unnecessary trim space from test * changes stringify error log to warn log * makes customType private * removes extra line from TestStringifyShouldReturnEmptyStringWhenMarshalErrorsOut * moves Stringify to util package * adds doc for Stringify * removes unnecessary TrimSpace * updates Stringify docs to Go format
#1565) * logs flags while mounting gcsfuse * updates log message for mount flag * fixes import lint issue * refactors and renames toString method to support marshalling of nested struct * refactor stringify to use json marshal * adds method for error handling in stringify * updates logger message for flags | remove unnecessary trim space from test * changes stringify error log to warn log * makes customType private * removes extra line from TestStringifyShouldReturnEmptyStringWhenMarshalErrorsOut * moves Stringify to util package * adds doc for Stringify * removes unnecessary TrimSpace * updates Stringify docs to Go format
Description
Uses flagStorage struct to get all flags which are being used in gcsfuse and add a info log while starting gcsfuse
Link to the issue in case of a bug fix.
issue-link
Testing details